<?php
/**
 * Template Name: Videos Template
 */
get_header();
?>

<div class="wrapper information-page archive-info" >
    <div class="bread-search">
        <aside>
            <?php
            //get_dktm_popup_edit('information');
            dktm_breadcrumbs();
            ?>
        </aside>
        <aside class="search">
            <?php //get_template_part('searchform', "information");  ?>
        </aside>
        <div class="clear"></div>
    </div>
    <div id="primary">
        <div class="single-page">
            <header class="entry-header">
                <h1 class="entry-title">Videos</h1>
            </header>
        </div>
        <div id="content" role="main" class="xsingle-page">
            <div class="wrapper clearfix">
                <?php
                $args = array(
                    'post_type' => 'entertainment',
                    'tax_query' => array(
                        array(
                            'taxonomy' => 'entertainment_cat',
                            'field' => 'slug', //can be set to ID
                            'terms' => 'videos' //if field is ID you can reference by cat/term number
                        )
                    )
                );
                $custom_query = new WP_Query($args);
                while ($custom_query->have_posts()) : $custom_query->the_post();
                    ?>
                    <?php get_template_part('content', 'videos');?>  
<?php endwhile;
wp_reset_query(); // end of the loop.  ?>
            </div><!-- #content -->

        </div>
    </div><!-- #primary -->
<?php get_sidebar('entertainment'); ?>
    <div class="clear"></div>
</div>
<?php get_footer(); ?>